package com.winona.widget;

import android.app.Dialog;
import android.content.Context;
import android.widget.TextView;

import com.taplinker.client.R;

public class LoadingDialog extends Dialog {
	private TextView mTextTv;

	public LoadingDialog(Context context) {
		super(context, R.style.Theme_Dialog);
		setContentView(R.layout.dialog_loading);
		setCancelable(false);
		setCanceledOnTouchOutside(false);
		
		mTextTv = (TextView) findViewById(R.id.text);
	}
	
	public void setText(String text) {
		mTextTv.setText(text);
	}
	
	public String getText() {
		return mTextTv.getText().toString();
	}
}
